package bdz.framework.web.model
{
	import bdz.framework.web.vo.BDZWFUser;

	public class BDZWFData extends BDZWFCoreData
	{
		private static var instance:BDZWFData;
		
		private static var _contents:BDZWFContentModel;
		private static var _templates:BDZWFTemplateModel;
		private static var _uis:BDZWFUIModel;
		private static var _user:BDZWFUser;
		
		public function BDZWFData(se:SingletonEnforcer)
		{
			super();
		}
		public static function getInstance():BDZWFData{
			if(instance == null){
				instance = new BDZWFData(new SingletonEnforcer());
				instance.initializeData();
			}
			return instance;
		}
		private function initializeData():void{
			
		}
		public function assignUser(xm:XML):void{
			_user = BDZWFUser.getUser(xm);
			trace(_user.username);
		}
		
		
		
	}
}
/**
 * @private
 * 
 */
internal class SingletonEnforcer{}